package cn.yuanqiao.archive.appManager.service;/**
 * @author 赵常飞
 * @date 2024/1/25 16:03
 */

import cn.yuanqiao.archive.appManager.domain.TenantGdfwAndBgqx;
import cn.yuanqiao.archive.appManager.domain.TenantGdfwAndBgqxRule;
import cn.yuanqiao.common.core.domain.TreeSelect;
import com.alibaba.fastjson.JSONObject;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/1/25 16:03
 *@Description:
 *@Note:
 */

public interface ITenantGdfwAndBgqxService {
    List<TreeSelect> selectTreeList(Long categoryId);

    int addzd(TenantGdfwAndBgqx gdfwAndBgqx);

    int editzd(TenantGdfwAndBgqx gdfwAndBgqx);

    List<TenantGdfwAndBgqx> gettable(Long parentId,Long categoryId);

    int addtj(TenantGdfwAndBgqxRule gdfwAndBgqx);

    int edittj(TenantGdfwAndBgqxRule gdfwAndBgqx);

    List<Map<String,Object>> gettjtable(Long zdId,Integer type);

    TenantGdfwAndBgqx getzd(Long zdid);

    String gettjsql(Long zdId,Integer type);

    int delete(Long tjid);

    List<String> getfieldbycategoryid(Long categoryId,Integer type);

    String getbgqxbyfile(JSONObject json);
}
